package cn.sherer.beans.kuaishou;

import java.io.Serializable;

/**
 * 快手支付来源信息
 */
public class KsPaymentExtraInfo implements Serializable {
    private String url;
    private String item_type;
    private String item_id;
    private String author_id;
    private String trade_no;

    /** 来源类型：短视频 */
    public static final String ITEM_TYPE_VIDEO = "VIDEO";
    /** 来源类型：直播 */
    public static final String ITEM_TYPE_LIVE = "LIVE";
    /** 来源类型：未知 */
    public static final String ITEM_TYPE_UNKNOWN = "UNKNOWN";

    public KsPaymentExtraInfo() {
    }

    public KsPaymentExtraInfo(String url, String item_type, String item_id, String author_id, String trade_no) {
        this.url = url;
        this.item_type = item_type;
        this.item_id = item_id;
        this.author_id = author_id;
        this.trade_no = trade_no;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getItem_type() {
        return item_type;
    }

    public void setItem_type(String item_type) {
        this.item_type = item_type;
    }

    public String getItem_id() {
        return item_id;
    }

    public void setItem_id(String item_id) {
        this.item_id = item_id;
    }

    public String getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(String author_id) {
        this.author_id = author_id;
    }

    public String getTrade_no() {
        return trade_no;
    }

    public void setTrade_no(String trade_no) {
        this.trade_no = trade_no;
    }

    @Override
    public String toString() {
        return "KsPaymentExtraInfo{" + "url=" + url + ", item_type=" + item_type + ", item_id=" + item_id + ", author_id=" + author_id + ", trade_no=" + trade_no + "}";
    }
}
